package com.atguigu.oss.service;

import com.atguigu.commonutils.R;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.multipart.support.MultipartFilter;

/**
 * @author: He Wentao
 * @date: 2022/8/19 22:54
 */
public interface OssService {

    // 上传头像到 oss
    R uploadFileAvatar(MultipartFile file);

    // 删除头像
    R deleteAvatar(String url);
}
